// 若不需要考虑兼容性可以不包含babel-polyfill，仅需在入口文件包含
import "babel-polyfill";
import "./main.scss";
import "utils/interceptors";
import Vue from "vue";
import Vuex from "vuex";
import VueRouter from "vue-router";
import store from "./store";
import routes from "./routes";
import $ from "jquery";
// 引入ui组件
import ElementUI from 'element-ui';
import 'theme/index.css';

//mock数据
import mockData from "./mockData";

Vue.use(ElementUI);

Vue.use(VueRouter);
Vue.use(Vuex);

const app = new Vue({
    store: new Vuex.Store(store),
    router: new VueRouter(routes),
    created() {
    }
}).$mount("#app");
